package org.jeecg.modules.solitaire_app.app.entity;

import java.io.Serializable;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;

/**
 * @Description: 油原料
 * @Author: jeecg-boot
 * @Date:   2023-10-16
 * @Version: V1.0
 */
@Data
@TableName("ysy_oil_raw_material_price")
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="ysy_oil_raw_material_price对象", description="油原料")
public class YsyOilRawMaterialPrice {

	private String id;

	/**油原料id*/
	@Excel(name = "油原料id", width = 15)
    @ApiModelProperty(value = "油原料id")
	private Integer oilRawMaterialId;
	/**炼厂id*/
	@Excel(name = "炼厂id", width = 15)
    @ApiModelProperty(value = "炼厂id")
	private Integer refineryId;
	/**挂牌价*/
	@Excel(name = "挂牌价", width = 15)
    @ApiModelProperty(value = "挂牌价")
	private java.math.BigDecimal listPrice;
	/**优惠价*/
	@Excel(name = "优惠价", width = 15)
    @ApiModelProperty(value = "优惠价")
	private java.math.BigDecimal preferentialPrice;
	/**创建时间*/
	@Excel(name = "创建时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
	private Date createTime;

	@TableField(exist = false)
	private String oilRawMaterialName;
}
